package depthtag.filter;
import java.io.File;
import java.io.FilenameFilter;


public class CanonRawFilter implements FilenameFilter {

	@Override
	public boolean accept(File dir, String name) {
		if(name != null){
			if(name.endsWith(".cr2") || name.endsWith(".crw") || name.endsWith(".CR2") || name.endsWith(".CRW")){
				return true;
			}
		}
		return false;
	}
	
}
